package com.gulimall.gulimallsearch.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author mayifan
 * @version 1.0
 * @date 2024-12-26 19:21
 */
@FeignClient("gulimall-product")
public interface productFeign {
    @GetMapping("/product/attr/infoName/{attrId}")
    public String infoName(@PathVariable("attrId") Long attrId);
}
